<html xmlns="http://www.w3c.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:p="http://primefaces.org/ui"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets">

<h:body>
	<ui:composition template="templates/masterLayout.xhtml">
		<ui:define name="leftSidebar">
			<h:form>
				<h:panelGrid columns="2">
					<h:outputLabel value="user name" />
					<h:inputText value="#{loginBean.user.username}"></h:inputText>
					<h:outputLabel value="password" />
					<h:inputSecret value="#{loginBean.user.password}"></h:inputSecret>
				</h:panelGrid>
				<h:commandButton value="Login" type="submit"
					action="#{loginBean.login}"></h:commandButton>
			</h:form>
		</ui:define>
		<ui:define name="contentContainer">
			<h1>Welcome!</h1>
		</ui:define>
	</ui:composition>
</h:body>
</html>
